package com.dgut.service;

import com.dgut.domain.User;

import java.util.List;

public interface UserService {
    public List<User> findAllUser();
    public Integer findUser(User user);
    public List<Integer> getUserIdLIst();

     public List<User> getUserCustomer();
    public User findUserById(int id);
    public User findUserByName(String name);
    public void insertUser(String name, String password);
    public boolean ifNameExit(String name);
    public void updateUser(User user);

}
